package com.design.model.chain;

/**
 * @program: study
 * @className: Handler
 * @description: TODO
 * @author: kukuxiahuni
 * @create: 2019-06-28 12:14
 * @version: v1.0
 **/
public abstract class Handler {
    protected Handler successor;

    public Handler getSuccessor() {
        return successor;
    }

    public void setSuccessor(Handler successor) {
        this.successor = successor;
    }
}
